home *** CD-ROM | disk | FTP | other *** search
/ Magazyn Amiga Shareware Floppies / ma60.dms / ma60.adf / ReqTools / Install / Install ReqTools next >
Encoding:
Text File  |  1996-04-14  |  1.6 KB  |  73 lines

  1.  
  2. ; Install script for ReqTools (Workbench 2.0)
  3.  
  4. (set @default-dest "")
  5.  
  6. (set reqtoolslib "/libs/reqtools.library")
  7. (set rtpatch "/RTPatch/RTPatch")
  8.  
  9. ;=============================================================================
  10. ; English strings
  11.  
  12. (set #bad-kick
  13. (cat "You must be using Kickstart 2.04 to install using this script."
  14.       " Double-click the 'Workbench_1.2-1.3' icon to install ReqTools on"
  15.       " Kickstart 1.2 or 1.3 machines."
  16. ))
  17.  
  18. (set #copying-reqtools "Copying reqtools.library to Libs:...")
  19. (set #copying-rtpatch  "Copying RTPatch...")
  20.  
  21. (set #install-msg
  22. (cat "\n\nReqTools installation script.\n"
  23.      "This script installs ReqTools library on your Amiga.\n\n"
  24.      "Read the DISTRIBUTION file for\n"
  25.      "more information on the distribution\n"
  26.      "and commercial usage of ReqTools.\n\n"
  27.      "ReqTools © 1991-1994 Nico François\n"
  28.      "           1995-1996 Magnus Holmgren\n"
  29.      "All rights reserved."
  30. ))
  31.  
  32. ;=============================================================================
  33. ; make sure we are running under a 2.04 ROM
  34.  
  35. (if (< (/ (getversion) 65536) 37)
  36. (
  37.     (abort #bad-kick)
  38. ))
  39.  
  40. ;=============================================================================
  41.  
  42. (message #install-msg)
  43.  
  44. (copylib
  45.     (prompt "\n" #copying-reqtools)
  46.     (help @copylib-help)
  47.     (source reqtoolslib)
  48.     (dest "Libs:")
  49.     (confirm)
  50. )
  51.  
  52. (if (exists "C:RTPatch")
  53. (
  54.     (copylib
  55.         (prompt "\n" #copying-rtpatch)
  56.         (help @copylib-help)
  57.         (source rtpatch)
  58.         (dest "C:")
  59.         (confirm)
  60.     )
  61. ))
  62.  
  63. (if (exists "SYS:WbStartup/RTPatch")
  64. (
  65.     (copylib
  66.         (prompt "\n" #copying-rtpatch)
  67.         (help @copylib-help)
  68.         (source rtpatch)
  69.         (dest "SYS:WbStartup")
  70.         (confirm)
  71.     )
  72. ))
  73.